package com.goldsprite.gameframeworks;

import java.util.function.Consumer;
import com.badlogic.gdx.*;

public class PlatformImpl {
	public static Consumer<Boolean> showSoftInputKeyBoard;

	public static int getTouchCount() {
		int count = 0;
		// 检查前10个指针（通常足够）
		for (int pointer = 0; pointer < 10; pointer++) {
			if (Gdx.input.isTouched(pointer)) {
				count++;
			}
		}
		return count;
	}
}
